package ${domain}.module.wsys.req;

import ${domain}.frame.base.BaseFindRequest;
import ${domain}.frame.validation.Select;

import java.util.Date;

/**
 * ResFindRequest -  资源查询
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2017-01-01
 */
public class ResFindRequest extends BaseFindRequest {

    /**
     * 资源代码
     */
    private String resCode;

    /**
     * 资源名称
     */
    private String resName;

    /**
     * 资源类型.
     * WEB:网页
     * API:终端
     */
    @Select({"WEB", "API"})
    private String resType;

    /**
     * 资源内容
     */
    private String resValue;

    /**
     * 资源内容模糊
     */
    private String resValueLike;

    /**
     * 上级代码
     */
    private String supCode;

    /**
     * 上级名称
     */
    private String supName;

    /**
     * 是否免费
     */
    private Boolean free;

    /**
     * 是否有效
     */
    private Boolean valid;

    /**
     * 开始日期
     */
    private Date startDate;

    /**
     * 结束日期
     */
    private Date endDate;

    public String getResCode() {
        return this.resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResName() {
        return this.resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResType() {
        return this.resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getResValue() {
        return this.resValue;
    }

    public void setResValue(String resValue) {
        this.resValue = resValue;
    }

    public String getResValueLike() {
        return this.resValueLike;
    }

    public void setResValueLike(String resValueLike) {
        this.resValueLike = resValueLike;
    }

    public String getSupCode() {
        return this.supCode;
    }

    public void setSupCode(String supCode) {
        this.supCode = supCode;
    }

    public String getSupName() {
        return this.supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public Boolean getFree() {
        return this.free;
    }

    public void setFree(Boolean free) {
        this.free = free;
    }

    public Boolean getValid() {
        return this.valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}